/*
 * @Descripttion: 
 * @version: 
 * @Author: wishchan
 * @Date: 2021-12-09 15:15:59
 * @LastEditors: wishchan
 * @LastEditTime: 2021-12-13 20:14:57
 */
export function useBarChartOption() {
  return {
    // 鼠标移入显示内容
    tooltip: {
      axisPointer: {
        type: 'shadow',
      },
    },
    grid: {
      left: '3%',
      right: '4%',
      bottom: '60px',
      containLabel: true,
    },
    // xAxis: [{
    //   type: 'category',
    //   axisTick: {
    //     alignWithLabel: true,
    //   },
    // }, ],
    yAxis: [{
      nameTextStyle: {
        align: 'right',
        verticalAlign: 'bottom',
        padding: [9, 0, 15, 9],
      },
      type: 'value',
      axisLine: {
        show: false,
      },
      splitLine: {
        // y轴线颜色
        lineStyle: {
          color: ['#e2e7eb'],
        },
      },
      axisTick: {
        show: false,
      },
    }]
  }
}
export function usePieChartOption() {
  return {
  }
}